package com.approval.dto;

import lombok.Data;
import javax.validation.constraints.Size;
import java.util.Date;
import java.util.List;

/**
 * 角色更新请求DTO
 */
@Data
public class RoleUpdateRequest {
    
    @Size(max = 100, message = "角色名称长度不能超过100个字符")
    private String roleName;
    
    @Size(max = 500, message = "角色描述长度不能超过500个字符")
    private String description;
    
    private String roleType;
    
    private Long parentId;
    
    private Integer sortOrder;
    
    private Integer status;

    private String roleCode;
    
    // 权限ID列表
    private List<Long> permissionIds;
}
